package dao;

import java.sql.Timestamp;

/**
 * Solution entity. @author MyEclipse Persistence Tools
 */
public class Solution extends AbstractSolution implements java.io.Serializable {

	// Constructors

	/** default constructor */
	public Solution() {
	}
	public Solution(Integer problemId, String userId,Timestamp submitDate,Short language,Integer codelength){
		
		super(problemId, userId, 0,0, submitDate,  new Short((short) 0), language,
				0,  new Short((short) 1), codelength);
	}

	/** full constructor */
	public Solution(Integer problemId, String userId, Integer runtime,
			Integer memory, Timestamp submitDate, Short result, Short language,
			Integer contestId, Short valid, Integer codeLength) {
		super(problemId, userId, runtime, memory, submitDate, result, language,
				contestId, valid, codeLength);
	}

}
